package com.tamo.ppresta.httpapi;

import androidx.annotation.NonNull;

import com.hjq.http.config.IRequestApi;
import com.tamo.ppresta.constant.API_CONSTANT;

import org.jetbrains.annotations.NotNull;

/**
 * @author yeyang
 * @name ppresta
 * @class name：com.tamo.ppresta.httpapi
 * @class describe
 * @time 2022/12/31 19:47
 * @change
 * @chang time
 * @class describe
 */
public class SubmitHiddenDataApi implements IRequestApi {
    @NonNull
    @NotNull
    @Override
    public String getApi() {
        return API_CONSTANT.SUBMIT_HIDDEN_DATA;
    }

    private String itemCode;
    private String languageCode;
    private String sessionId;
    /**
     * 提交的埋点类型; 1.提交客户手机定位记录, 2.提交客户手机短信记录, 3.提交客户手机通话记录, 4.提交客户手机app列表, 5.提交客户通讯录, 6.提交客户手机信息, 7.风控埋点提交
     */
    private String hiddenType;

    public SubmitHiddenDataApi setItemCode(String itemCode) {
        this.itemCode = itemCode;
        return this;
    }

    public SubmitHiddenDataApi setLanguageCode(String languageCode) {
        this.languageCode = languageCode;
        return this;
    }

    public SubmitHiddenDataApi setSessionId(String sessionId) {
        this.sessionId = sessionId;
        return this;
    }

    public SubmitHiddenDataApi setHiddenType(String hiddenType) {
        this.hiddenType = hiddenType;
        return this;
    }
}